package com.zsrt.java.day20170104.wrl.demo07;

import org.junit.Test;

public class Student07Test {

	@SuppressWarnings("static-access")
	@Test
	public void test() {
		Student07 stu01 = new Student07("stu01");
		Student07 stu02 = new Student07("stu02");
		Student07 stu03 = new Student07("stu03");
		
		//studentCount:是所有对象共享的
		System.out.println(stu01.getStudentCount());
		System.out.println(stu02.getStudentCount());
		System.out.println(stu03.getStudentCount());
		
		System.out.println(Student07.getStudentCount());
		System.out.println(Student07.COUNTRY);
	}

}
